@import url(./reset.css);
@import url(./radio.css);
@import url(./rate.css);

form {
  width: 480px;
  padding: 1rem 0;
}

.item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  min-height: 40px;
}

.item > .label {
  margin-top: 10px;
  min-width: 88px;
  text-align: right;
  padding: 0 0.7em;
}

.content {
  width: 100%;
}

/* -----  输入框 ------ */

input {
  display: inline-block;
  position: relative;
  font-size: 14px;
  color: #606266;
  cursor: pointer;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  outline: none;
  padding: 0 15px;
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
}

input:hover,
input:active {
  /* border-color: #c0c4cc; */
  outline: none;
  border-color: #409eff;
}

/* ----- 下拉框 ----- */

.select {
  width: 100%;
  position: relative;
}

.select .input {
  position: relative;
}

.list {
  margin-top: 0.1rem;
  position: absolute;
  z-index: 2;
  background: #fff;
  width: 100%;
  border: 1px solid #dcdfe6;
  overflow: hidden;
}

.list ul li {
  width: 100%;
  height: 40px;
  cursor: pointer;
  line-height: 40px;
  padding-left: 10px;
  font-size: 14px;
  color: #606266;
}

.list ul li:hover {
  background-color: #f5f7fa;
  color: #409eff;
}

.tri {
  transition: all 0.26s;
  position: absolute;
  top: 50%;
  transform: translateY(-25%);
  right: 1rem;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top: 6px solid #666666;
}

.tri_up {
  transform: translateY(-75%) rotate(180deg);
}
.btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #dcdfe6;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}

.btn:focus,
.btn:hover {
  background: #66b1ff;
  border-color: #66b1ff;
  color: #fff;
}
form {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.error {
  color: red;
  margin-top: 10px;
}
